package com.hkts.sinoiov.sinoiovLocation.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 实时位置
 * </p>
 *
 * @author hml
 * @since 2021-08-12
 */
@Data
@ApiModel(value = "sinoiov_location",description = "实时位置")
public class SinoiovLocation extends Model<SinoiovLocation> {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 记录id
     */
    @ApiModelProperty(value = "查询记录ID")
    private String recordId;
    /**
     * 车辆定位纬度
     */
    @ApiModelProperty(value = "车辆定位纬度")
    private BigDecimal lat;
    /**
     * 车辆定位经度
     */
    @ApiModelProperty(value = "车辆定位经度")
    private BigDecimal lon;
    /**
     * 车辆地理位置名称
     */
    @ApiModelProperty(value = "车辆地理位置名称")
    private String adr;
    /**
     * 车辆定位时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "车辆定位时间")
    private LocalDateTime utc;
    /**
     * 速度
     */
    @ApiModelProperty(value = "速度")
    private String spd;
    /**
     * 方向
     */
    @ApiModelProperty(value = "方向")
    private String drc;
    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String city;
    /**
     * 县
     */
    @ApiModelProperty(value = "县")
    private String country;
    /**
     * 里程
     */
    @ApiModelProperty(value = "里程")
    private String mil;


}
